<?php



class TabHistoriaEnfermedadMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TabHistoriaEnfermedadMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('xaman');

		$tMap = $this->dbMap->addTable('tab_historia_enfermedad');
		$tMap->setPhpName('TabHistoriaEnfermedad');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('NRO_HISTORIA', 'NroHistoria', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addPrimaryKey('CF_ENFERMEDAD', 'CfEnfermedad', 'string', CreoleTypes::VARCHAR, true, 5);

	} 
} 